package fr.axones.pocketagile.ui.model
{
	import com.adobe.rtc.session.ConnectSession;
	import com.adobe.rtc.sharedModel.SharedCollection;
	
	import mx.collections.ArrayCollection;
	
	import spark.components.ViewNavigator;
	
	import fr.axones.pocketagile.vo.ProjectItemVO;
	import fr.axones.pocketagile.vo.ProjectVO;
	import fr.axones.pocketagile.vo.UserVO;

	[Bindable]
	public class Model
	{
		public var user:UserVO;
		public var project:ProjectVO;
		public var projectProfile:String;
		public var projects:ArrayCollection;
		public var isAdmin:Boolean = false;
		
		public var lastSelectedIndex:int;
		
		public var session:ConnectSession;
		public var navigator:ViewNavigator;
		
		public var users:ArrayCollection = new ArrayCollection();
		
		public var itemName:String;
		public var lastItemName:String;
		public var showValues:Boolean;
		public var selectedValue:Object;
		public var item:ProjectItemVO;
		public var adminValue:Number;
				
		public function Model()
		{
		}
	}
}